//
//  ITTBButton.m
//  DlfcAgent
//
//  Created by 1em0nsOft on 2017/3/3.
//  Copyright © 2017年 Lemonsoft. All rights reserved.
//

#import "ITTBButton.h"

@interface ITTBButton(){
    UILabel *_numLabel;
}

@end

@implementation ITTBButton

- (void)drawRect:(CGRect)rect{
    self.contentHorizontalAlignment =UIControlContentHorizontalAlignmentCenter;
    [self setTitleEdgeInsets:UIEdgeInsetsMake(self.imageView.frame.size.height + 16 ,-self.imageView.frame.size.width, 0.0,0.0)];
    [self setImageEdgeInsets:UIEdgeInsetsMake(-0.0,0.0, 22.0, -self.titleLabel.bounds.size.width)];
    self.layer.shadowColor = [UIColor blackColor].CGColor;
    self.layer.shadowOffset = CGSizeMake(0,4);
    self.layer.shadowOpacity = 0.05;//
    self.layer.shadowRadius = 16;//
}

@end
